package com.oc.utils;

import net.rim.device.api.ui.Font;
import net.rim.device.api.ui.Ui;

public class Style {

	private static Font fh1 = null;
	private static Font fh2 = null;
	private static Font fh3 = null;
	private static Font fnormal = null;
	
	public static Font h1(){
		if(fh1 == null){
			fh1 = Font.getDefault();
			fh1.derive(Font.BOLD,14,Ui.UNITS_px);
		}
		return fh1;
	}
	
	public static Font h2(){
		if(fh2 == null){
			fh2 = Font.getDefault();
			fh2.derive(Font.BOLD,12,Ui.UNITS_px);
		}
		return fh2;
	}

	public static Font h3(){
		if(fh3 == null){
			fh3 = Font.getDefault();
			fh3.derive(Font.ITALIC,11,Ui.UNITS_px);
		}
		return fh3;
	}
	
	public static Font normal(){
		if(fnormal == null){
			fnormal = Font.getDefault();
			fnormal.derive(Font.BOLD,14,Ui.UNITS_px);
		}
		return fnormal;
	}
	
	
	
}
